package com.chc.web.fee_power.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chc.web.fee_power.entity.FeePower;
import com.chc.web.fee_power.entity.FeePowerParm;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA
 *
 * @Author: chc
 * @Date: 2022/01/17/15:19
 * @Description:
 */
public interface FeePowerService extends IService<FeePower> {
    //新增电费
    void saveFeePower(FeePower feePower);
    //编辑电费
    void updateFeePower(FeePower feePower);
    //电费查询列表
    IPage<FeePower> getList(FeePowerParm feePowerParm);
    //查询有没有重复的电费列表
    List<FeePower> getListPower(Long houseId);

    //查询7个月电费
    List<Integer> selectSevenMonthPowerConsumptionList();

}
